package cn.com.lsy.product.lepao.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.DecimalMin;

@ApiModel
public class UpdateCitySortParam {

    @ApiModelProperty(value = "城市id")
    @DecimalMin(value = "1", message = "城市id必须大于0")
    private int id;

    @ApiModelProperty(value = "排序")
    @DecimalMin(value = "1", message = "排序必须大于0")
    private int sort;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }
}
